{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genStepsInlineStyle = function genStepsInlineStyle(token) {\n  var _icon, _Object$assign2, _$concat;\n  var componentCls = token.componentCls,\n    inlineDotSize = token.inlineDotSize,\n    inlineTitleColor = token.inlineTitleColor,\n    inlineTailColor = token.inlineTailColor;\n  var containerPaddingTop = token.paddingXS + token.lineWidth;\n  var titleStyle = _defineProperty({}, \"\".concat(componentCls, \"-item-container \").concat(componentCls, \"-item-content \").concat(componentCls, \"-item-title\"), {\n    color: inlineTitleColor\n  });\n  return _defineProperty({}, \"&\".concat(componentCls, \"-inline\"), _defineProperty({\n    width: 'auto',\n    display: 'inline-flex'\n  }, \"\".concat(componentCls, \"-item\"), (_$concat = {\n    flex: 'none',\n    '&-container': _defineProperty({\n      padding: \"\".concat(containerPaddingTop, \"px \").concat(token.paddingXXS, \"px 0\"),\n      margin: \"0 \".concat(token.marginXXS / 2, \"px\"),\n      borderRadius: token.borderRadiusSM,\n      cursor: 'pointer',\n      transition: \"background-color \".concat(token.motionDurationMid),\n      '&:hover': {\n        background: token.controlItemBgHover\n      }\n    }, \"&[role='button']:hover\", {\n      opacity: 1\n    }),\n    '&-icon': (_icon = {\n      width: inlineDotSize,\n      height: inlineDotSize,\n      marginInlineStart: \"calc(50% - \".concat(inlineDotSize / 2, \"px)\")\n    }, _defineProperty(_icon, \"> \".concat(componentCls, \"-icon\"), {\n      top: 0\n    }), _defineProperty(_icon, \"\".concat(componentCls, \"-icon-dot\"), {\n      borderRadius: token.fontSizeSM / 4\n    }), _icon),\n    '&-content': {\n      width: 'auto',\n      marginTop: token.marginXS - token.lineWidth\n    },\n    '&-title': {\n      color: inlineTitleColor,\n      fontSize: token.fontSizeSM,\n      lineHeight: token.lineHeightSM,\n      fontWeight: 'normal',\n      marginBottom: token.marginXXS / 2\n    },\n    '&-description': {\n      display: 'none'\n    },\n    '&-tail': {\n      marginInlineStart: 0,\n      top: containerPaddingTop + inlineDotSize / 2,\n      transform: \"translateY(-50%)\",\n      '&:after': {\n        width: '100%',\n        height: token.lineWidth,\n        borderRadius: 0,\n        marginInlineStart: 0,\n        background: inlineTailColor\n      }\n    }\n  }, _defineProperty(_$concat, \"&:first-child \".concat(componentCls, \"-item-tail\"), {\n    width: '50%',\n    marginInlineStart: '50%'\n  }), _defineProperty(_$concat, \"&:last-child \".concat(componentCls, \"-item-tail\"), {\n    display: 'block',\n    width: '50%'\n  }), _defineProperty(_$concat, '&-wait', Object.assign(_defineProperty({}, \"\".concat(componentCls, \"-item-icon \").concat(componentCls, \"-icon \").concat(componentCls, \"-icon-dot\"), {\n    backgroundColor: token.colorBorderBg,\n    border: \"\".concat(token.lineWidth, \"px \").concat(token.lineType, \" \").concat(inlineTailColor)\n  }), titleStyle)), _defineProperty(_$concat, '&-finish', Object.assign((_Object$assign2 = {}, _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-item-tail::after\"), {\n    backgroundColor: inlineTailColor\n  }), _defineProperty(_Object$assign2, \"\".concat(componentCls, \"-item-icon \").concat(componentCls, \"-icon \").concat(componentCls, \"-icon-dot\"), {\n    backgroundColor: inlineTailColor,\n    border: \"\".concat(token.lineWidth, \"px \").concat(token.lineType, \" \").concat(inlineTailColor)\n  }), _Object$assign2), titleStyle)), _defineProperty(_$concat, '&-error', titleStyle), _defineProperty(_$concat, '&-active, &-process', Object.assign(_defineProperty({}, \"\".concat(componentCls, \"-item-icon\"), {\n    width: inlineDotSize,\n    height: inlineDotSize,\n    marginInlineStart: \"calc(50% - \".concat(inlineDotSize / 2, \"px)\"),\n    top: 0\n  }), titleStyle)), _defineProperty(_$concat, \"&:not(\".concat(componentCls, \"-item-active) > \").concat(componentCls, \"-item-container[role='button']:hover\"), _defineProperty({}, \"\".concat(componentCls, \"-item-title\"), {\n    color: inlineTitleColor\n  })), _$concat)));\n};\nexport default genStepsInlineStyle;","map":{"version":3,"names":["genStepsInlineStyle","token","componentCls","inlineDotSize","inlineTitleColor","inlineTailColor","containerPaddingTop","paddingXS","lineWidth","titleStyle","color","width","display","flex","padding","paddingXXS","margin","marginXXS","borderRadius","borderRadiusSM","cursor","transition","motionDurationMid","background","controlItemBgHover","opacity","height","marginInlineStart","top","fontSizeSM","marginTop","marginXS","fontSize","lineHeight","lineHeightSM","fontWeight","marginBottom","transform","Object","assign","backgroundColor","colorBorderBg","border","lineType"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/steps/style/inline.js"],"sourcesContent":["const genStepsInlineStyle = token => {\n  const {\n    componentCls,\n    inlineDotSize,\n    inlineTitleColor,\n    inlineTailColor\n  } = token;\n  const containerPaddingTop = token.paddingXS + token.lineWidth;\n  const titleStyle = {\n    [`${componentCls}-item-container ${componentCls}-item-content ${componentCls}-item-title`]: {\n      color: inlineTitleColor\n    }\n  };\n  return {\n    [`&${componentCls}-inline`]: {\n      width: 'auto',\n      display: 'inline-flex',\n      [`${componentCls}-item`]: {\n        flex: 'none',\n        '&-container': {\n          padding: `${containerPaddingTop}px ${token.paddingXXS}px 0`,\n          margin: `0 ${token.marginXXS / 2}px`,\n          borderRadius: token.borderRadiusSM,\n          cursor: 'pointer',\n          transition: `background-color ${token.motionDurationMid}`,\n          '&:hover': {\n            background: token.controlItemBgHover\n          },\n          [`&[role='button']:hover`]: {\n            opacity: 1\n          }\n        },\n        '&-icon': {\n          width: inlineDotSize,\n          height: inlineDotSize,\n          marginInlineStart: `calc(50% - ${inlineDotSize / 2}px)`,\n          [`> ${componentCls}-icon`]: {\n            top: 0\n          },\n          [`${componentCls}-icon-dot`]: {\n            borderRadius: token.fontSizeSM / 4\n          }\n        },\n        '&-content': {\n          width: 'auto',\n          marginTop: token.marginXS - token.lineWidth\n        },\n        '&-title': {\n          color: inlineTitleColor,\n          fontSize: token.fontSizeSM,\n          lineHeight: token.lineHeightSM,\n          fontWeight: 'normal',\n          marginBottom: token.marginXXS / 2\n        },\n        '&-description': {\n          display: 'none'\n        },\n        '&-tail': {\n          marginInlineStart: 0,\n          top: containerPaddingTop + inlineDotSize / 2,\n          transform: `translateY(-50%)`,\n          '&:after': {\n            width: '100%',\n            height: token.lineWidth,\n            borderRadius: 0,\n            marginInlineStart: 0,\n            background: inlineTailColor\n          }\n        },\n        [`&:first-child ${componentCls}-item-tail`]: {\n          width: '50%',\n          marginInlineStart: '50%'\n        },\n        [`&:last-child ${componentCls}-item-tail`]: {\n          display: 'block',\n          width: '50%'\n        },\n        '&-wait': Object.assign({\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: token.colorBorderBg,\n            border: `${token.lineWidth}px ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-finish': Object.assign({\n          [`${componentCls}-item-tail::after`]: {\n            backgroundColor: inlineTailColor\n          },\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: inlineTailColor,\n            border: `${token.lineWidth}px ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-error': titleStyle,\n        '&-active, &-process': Object.assign({\n          [`${componentCls}-item-icon`]: {\n            width: inlineDotSize,\n            height: inlineDotSize,\n            marginInlineStart: `calc(50% - ${inlineDotSize / 2}px)`,\n            top: 0\n          }\n        }, titleStyle),\n        [`&:not(${componentCls}-item-active) > ${componentCls}-item-container[role='button']:hover`]: {\n          [`${componentCls}-item-title`]: {\n            color: inlineTitleColor\n          }\n        }\n      }\n    }\n  };\n};\nexport default genStepsInlineStyle;"],"mappings":";AAAA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmB,CAAGC,KAAK,EAAI;EAAA;EACnC,IACEC,YAAY,GAIVD,KAAK,CAJPC,YAAY;IACZC,aAAa,GAGXF,KAAK,CAHPE,aAAa;IACbC,gBAAgB,GAEdH,KAAK,CAFPG,gBAAgB;IAChBC,eAAe,GACbJ,KAAK,CADPI,eAAe;EAEjB,IAAMC,mBAAmB,GAAGL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